class DataImageModel {
  String? tabName;
  String? time;
  int? count;

//<editor-fold desc="Data Methods" defaultstate="collapsed">

  DataImageModel({
    this.tabName,
    this.time,
    this.count,
  });

  DataImageModel copyWith({
    String? tabName,
    String? time,
    int? count,
  }) {
    return new DataImageModel(
      tabName: tabName ?? this.tabName,
      time: time ?? this.time,
      count: count ?? this.count,
    );
  }

  @override
  String toString() {
    return 'DataImageModel{tabName: $tabName, time: $time, count: $count,}';
  }

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      (other is DataImageModel &&
          runtimeType == other.runtimeType &&
          tabName == other.tabName &&
          time == other.time &&
          count == other.count);

  @override
  int get hashCode => tabName.hashCode ^ time.hashCode ^ count.hashCode;

  factory DataImageModel.fromMap(Map<String, dynamic> map) {
    return new DataImageModel(
      // tabName: map['tabName'] as String?,
      time: map['time'] as String?,
      count: map['count'] as int?,
    );
  }

  Map<String, dynamic> toMap() {
    // ignore: unnecessary_cast
    return {
      'tabName': this.tabName,
      'time': this.time,
      'count': this.count,
    } as Map<String, dynamic>;
  }

//</editor-fold>

}
